import Vue from 'vue'
import Router from 'vue-router'
const _import = require('./_import_' + process.env.NODE_ENV)
Vue.use(Router)

export const constantRouterMap = [
  {
    path: '/',
    component: _import('HelloWorld/index'),
    hidden: true
  }
]

export default new Router({
  // mode:'history',
  scrollBehavior: () => ({
    y: 0
  }),
  routes: constantRouterMap
})

